#define _CRT_SECURE_NO_WARNINGS 1
#include "vector.h"

namespace lsnm{
	//void vector_test_1(){
	//	vector<int> v1;
	//	v1.push_back(1);
	//	v1.push_back(2);
	//	v1.push_back(3);
	//	v1.push_back(4);
	//	v1.push_back(5);
	//	v1.insert(v1.begin() + 2, 99,2);
	//	auto it = v1.erase(v1.begin() + 3);
	//	vector<int> v2;
	//	v2.push_back(12345);
	//	v2.swap(v1);
	//	for (auto e : v1) {
	//		cout << e << " ";
	//	}
	//	cout << endl;
	//	//cout << *it << endl;
	//	//v1[2] = 3;
	//}

	/*void vector_test_2() {
		vector<string> v1;
		v1.push_back("1234");
		v1.push_back("abcd");
		v1.push_back("1234abcd");
		v1.push_back("1234abcd");
		v1.push_back("1234abcd");
		v1.push_back("1234abcd");
		v1.push_back("1234abcd");
		for (auto e : v1) {
			cout << e << " ";
		}
		cout << endl;
	}*/

	/*void vector_test_3() {
		vector<int> v1(5, 55);
		vector<int> v2(v1);
		for (auto e : v2) {
			cout << e << " ";
		}
		cout << endl;
	}*/

	void vector_test_4() {
		list<int> li1{ 1,2,3,455 };
		//vector<int> v1(++li1.begin(), li1.end());
		vector<int> v2(5,66);
		//vector<int> v3{ 1,2,3,4 };
		//v2 = v1;
		//for (auto e : v3) {
			//cout << e << " ";
		//}
		//cout << endl;
	}
}

int main() {
	
	lsnm::vector_test_4();

	return 0;
}
